package io.wdb.modules.activity.wx.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import io.wdb.modules.activity.wx.dao.MarketIntegralInfoDao;
import io.wdb.modules.activity.wx.entity.MarketIntegralInfoEntity;
import io.wdb.modules.activity.wx.service.MarketIntegralInfoService;

import java.util.List;
import java.util.Map;



@Service("marketIntegralInfoService")
public class MarketIntegralInfoServiceImpl implements MarketIntegralInfoService {
	@Autowired
	private MarketIntegralInfoDao marketIntegralInfoDao;
	
	@Override
	public MarketIntegralInfoEntity queryObject(Long id){
		return marketIntegralInfoDao.queryObject(id);
	}
	
	@Override
	public List<MarketIntegralInfoEntity> queryList(Map<String, Object> map){
		return marketIntegralInfoDao.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return marketIntegralInfoDao.queryTotal(map);
	}
	
	@Override
	public void save(MarketIntegralInfoEntity marketIntegralInfo){
		marketIntegralInfoDao.save(marketIntegralInfo);
	}
	
	@Override
	public void update(MarketIntegralInfoEntity marketIntegralInfo){
		marketIntegralInfoDao.update(marketIntegralInfo);
	}
	
	@Override
	public void delete(Long id){
		marketIntegralInfoDao.delete(id);
	}
	
	@Override
	public void deleteBatch(Long[] ids){
		marketIntegralInfoDao.deleteBatch(ids);
	}
	
}
